#define _CRT_SECURE_NO_WARNINGS 1
#include<iostream>
#include<cstdio>

using namespace std;

int main()
{
	char str[11] = { 0 };
	double a, b;
	cin >> str >> a >> b;
	printf("TOTAL = R$ %.2lf", a + 0.15 * b);
	return 0;
}